<template>
  <section class="my-download">
    <web-view :src="src"></web-view>
  </section>
</template>
<script>
export default {
  data() {
    return {
      src:''
    };
  },
  onLoad(e) {
    console.log(e);
    this.src = e.src ? e.src : 'https://www.baidu.com';
  },
  methods: {
  }
};
</script>
<style lang="scss" scoped>
.my-download {
  .top {
    position: relative;
    padding: 15px;
    img {
      width: 84px;
      height: 84px;
      border-radius: 8px;
      margin-right: 15px;
    }
    .title {
      font-size: 18px;
      font-family: PingFang;
      font-weight: bold;
      color: rgba(51, 51, 51, 1);
      margin-bottom: 9px;
    }
    .desc {
      font-size: 12px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: rgba(161, 164, 172, 1);
      margin-bottom: 9px;
    }
    .tag {
      font-size: 12px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: rgba(161, 164, 172, 1);
      padding: 3px 6px;
      border-radius: 5px;
      border: 1px solid rgba(59, 184, 253, 1);
      display: inline-block;
    }
    button {
      width: 55px;
      height: 24px;
      background: rgba(59, 184, 253, 1);
      border-radius: 12px;
      position: absolute;
      right: 15px;
      bottom: 15px;
      font-size: 12px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
      padding: 0;
      margin: 0;
      line-height: 24px;
    }
  }
  .section {
    .title {
      font-size: 18px;
      font-family: PingFang;
      font-weight: bold;
      color: rgba(51, 51, 51, 1);
      line-height: 12px;
      padding: 15px;
    }
    img {
      width: 195px;
      height: 347px;
      border-radius: 4px;
      margin-right: 15px;
      display: inline-block;
    }
    .desc {
      font-size: 12px;
      font-family: PingFang;
      font-weight: 500;
      color: rgba(46, 46, 46, 1);
      line-height: 21px;
      padding: 15px;
    }
    .flex{
      flex-wrap: nowrap;
    }
  }
  .download {
    width: 345px;
    height: 44px;
    background: rgba(59, 184, 253, 1);
    border-radius: 5px;
    font-size: 15px;
    font-family: PingFang;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    line-height: 44px;
    margin:15px;
  }
}
</style>
<style lang="scss">
.van-tabs__line {
  color: #3bb8fd;
}
</style>